// Copyright (C) joyinter
// All rights reserved.
// 
// Author : Jiang Li
// Date   : 2004-8-13

#ifndef __SETTINGDLG_H_CLIENT_MAIN__
#define __SETTINGDLG_H_CLIENT_MAIN__

#pragma once

#include "settingwnd.h"
#include "resource.h"
#include <common/netmsg/gameid.h>

// CJoySettingDlg dialog

//##ModelId=44C4B5DC039D
class CJoySettingDlg : public CDialog
{
	DECLARE_DYNAMIC(CJoySettingDlg)

protected:
	//##ModelId=44C4B5DC03AB
    CJoySettingWnd  m_settingWnd;

public:
	//##ModelId=44C4B5DC03AF
    UINT m_lobbyId;

	//##ModelId=44C4B5DC03B9
	CJoySettingDlg(CWnd* pParent = NULL, UINT lobbyId = GID_CS);   // standard constructor
	//##ModelId=44C4B5DC03BC
	virtual ~CJoySettingDlg();

	//##ModelId=44C4B5DC03BE
    virtual void OnCancel();
	//##ModelId=44C4B5DC03C0
    virtual void OnOK();

// Dialog Data
	enum { IDD = IDD_JOYSETTINGDLG };

protected:
	//##ModelId=44C4B5DC03C9
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	//##ModelId=44C4B5DC03CC
    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//##ModelId=44C4B5DC03CF
    afx_msg void OnSize(UINT nType, int cx, int cy);
	//##ModelId=44C4B5DC03DC
    afx_msg LRESULT OnNcHitTest(CPoint point);
};

#endif  // __SETTINGDLG_H_CLIENT_MAIN__
